<template>
  <div>
    <ul>
        <router-link active-class='active' tag='li' to='/movie'>电影</router-link>
        <router-link active-class='active' tag='li' to='/tv'>电视剧</router-link>
    </ul>
    <router-view></router-view>
  </div>
  
</template>



<style lang="css" scoped>
  ul li {
    list-style: none;
    display: inline-block;
    margin-right: 20px;
    
  }

  ul li.active {
    color: red;
    font-size: 20px;
  }
</style>